﻿namespace SageKing.Database.Contracts;



/// <summary>
/// 假删除接口过滤器
/// </summary>
public interface IDeletedFilter
{
    /// <summary>
    /// 软删除
    /// </summary>
    bool IsDelete { get; set; }
}

/// <summary>
/// 租户Id接口过滤器
/// </summary>
public interface ITenantIdFilter<T>
{
    /// <summary>
    /// 租户Id
    /// </summary>
    T? TenantId { get; set; }
}

/// <summary>
/// 机构Id接口过滤器
/// </summary>
public interface IOrgIdFilter<T>
{
    /// <summary>
    /// 创建者部门Id
    /// </summary>
    T? CreateOrgId { get; set; }
}

/// <summary>
/// Enable接口过滤器
/// </summary>
public interface IEnableFilter
{
    /// <summary>
    /// 是否可用
    /// </summary>
    bool? Enable { get; set; }
}